import createPersistedState from 'vuex-persistedstate'

const plugins = [
    createPersistedState({
        storage:window.sessionStorage,
        key:'user',
        reducer(state:any) {
            return {
                user:state.user
            }
        }
    })
]

export {
    plugins
}